package com.njworkorder.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssignmentListVo {

    @Schema(description = "任务ID")
    private String id;

    @Schema(description = "病害模块")
    private String diseaseModule;

    @Schema(description = "关联病害数量")
    private int diseaseCount;

    @Schema(description = "巡查信息")
    private String inspectionInfo;

    @Schema(description = "养护单位名称（组织名称）")
    private String maintenanceUnitName;

    @Schema(description = "任务单号")
    private String taskOrderNumber;

    @Schema(description = "预估结束日期")
    private Date estimatedEndDate;

    @Schema(description = "施工负责人姓名")
    private String constructionManagerName;

    @Schema(description = "派单日期")
    private Date dispatchDate;

    @Schema(description = "派单人姓名")
    private String dispatchPersonName;

    @Schema(description = "审核单位名称（组织名称）")
    private String auditUnitName;

    @Schema(description = "审核人姓名")
    private String reviewerName;

    @Schema(description = "审核状态，0未审核，1已审核，2审核不通过")
    private Integer auditStatus;

    @Schema(description = "维修完成时间")
    private Date repairCompletionTime;

    @Schema(description = "维修意见")
    private String repairOpinion;

    @Schema(description = "初审审核时间")
    private Date initialReviewTime;

    @Schema(description = "初审意见")
    private String initialReviewOpinion;

    @Schema(description = "终审审核时间")
    private Date finalJudgmentTime;

    @Schema(description = "终审意见")
    private String finalJudgmentOpinion;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "附件地址")
    private String appendixes;

    @Schema(description = "创建人姓名")
    private String createApName;


    @Schema(description = "数据状态", example = "2为正常状态,6为冻结状态,8为失效状态")
    private String status;

    private Date publishTime;
}
